// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import VueRouter from 'vue-router'
import App from './App.vue'
import router from './router/index'
import store from "./store";
// 引入外部awesome字体
import 'font-awesome/css/font-awesome.min.css' 

// 配置全局组件-无数据组件
import NoData from "@/components/common/no-data.vue"
Vue.component('no-data',NoData)

// 引入全局配置常量
import glConfig from "@/utils/config.js"
Vue.prototype.glConfig = glConfig


import requestApi from "@/api/request"
Vue.prototype.glRequest = requestApi

// 引入公共样式和修改vux组件样式
import './assets/css/common.css'
import './assets/css/reset-vux.less'

import  { ConfirmPlugin } from 'vux'
Vue.use(ConfirmPlugin)

Vue.use(VueRouter)

import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI)


FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app')
